#include "stdafx.h"
#include <iostream>

class A;

class A
{
	int age;
	int* address;
public:
	
	A()
	{
		
	}

	A(const A& a)
	{
		this->age = a.age;
		this->address = new int[1];
	}

	~A()
	{}
};

int main_copyconstructor()
{
	A a;
	A *b = &a;
	delete &a;
	delete b;
	return 0;
}